<%@ page import="com.vo.User" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<title>主页</title>
</head>
<body>
<form action="LoginServlet" method="post">
<%
    User u = (User) session.getAttribute("user");
%>
<h1>欢迎您: Rem</h1>


<p>
    <a href="adduser.jsp" style="pointer-events:none; color: darkgray">添加用户(无权限)</a>
    <a href="listitem.jsp" style="pointer-events:none; color: darkgray">商品发布(无权限)</a>
</p>

<p><a href="LogoutServlet" methods="post">退出</a></p>
</form>
</body>
</html>

